package com.bocloud.cmp.web.model;

import java.util.List;

public class HostSystem {

	private String name;
	private String vendorName; // 云供应商名称
	private String vendor;
	private List<String> stores;
	private List<CloudServer> servers;// 虚拟机
	private String clusterName;// 所在集群的名称
	private List<NetworkCard> netcards;
	private Integer vmNum;// 宿主机（物理机）上的虚拟机数量
	private Integer templateNum;// 宿主机（物理机）上的虚拟机数量
	private String powerState;// 宿主机（物理机）电源状态
	private Integer datastoreNum;// 宿主机（物理机）数据存储数量
	private String hostIp;// 宿主机IP

	public HostSystem() {
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the vendorName
	 */
	public String getVendorName() {
		return vendorName;
	}

	/**
	 * @param vendorName
	 *            the vendorName to set
	 */
	public void setVendorName(String vendorName) {
		this.vendorName = vendorName;
	}

	/**
	 * @return the vendor
	 */
	public String getVendor() {
		return vendor;
	}

	/**
	 * @param vendor
	 *            the vendor to set
	 */
	public void setVendor(String vendor) {
		this.vendor = vendor;
	}

	/**
	 * @return the stores
	 */
	public List<String> getStores() {
		return stores;
	}

	/**
	 * @param stores
	 *            the stores to set
	 */
	public void setStores(List<String> stores) {
		this.stores = stores;
	}

	/**
	 * @return the servers
	 */
	public List<CloudServer> getServers() {
		return servers;
	}

	/**
	 * @param servers
	 *            the servers to set
	 */
	public void setServers(List<CloudServer> servers) {
		this.servers = servers;
	}

	/**
	 * @return the clusterName
	 */
	public String getClusterName() {
		return clusterName;
	}

	/**
	 * @param clusterName
	 *            the clusterName to set
	 */
	public void setClusterName(String clusterName) {
		this.clusterName = clusterName;
	}


	/**
	 * @return the netcards
	 */
	public List<NetworkCard> getNetcards() {
		return netcards;
	}

	/**
	 * @param netcards
	 *            the netcards to set
	 */
	public void setNetcards(List<NetworkCard> netcards) {
		this.netcards = netcards;
	}

	/**
	 * @return the vmNum
	 */
	public Integer getVmNum() {
		return vmNum;
	}

	/**
	 * @param vmNum
	 *            the vmNum to set
	 */
	public void setVmNum(Integer vmNum) {
		this.vmNum = vmNum;
	}

	/**
	 * @return the templateNum
	 */
	public Integer getTemplateNum() {
		return templateNum;
	}

	/**
	 * @param templateNum
	 *            the templateNum to set
	 */
	public void setTemplateNum(Integer templateNum) {
		this.templateNum = templateNum;
	}

	/**
	 * @return the powerState
	 */
	public String getPowerState() {
		return powerState;
	}

	/**
	 * @param powerState
	 *            the powerState to set
	 */
	public void setPowerState(String powerState) {
		this.powerState = powerState;
	}

	/**
	 * @return the datastoreNum
	 */
	public Integer getDatastoreNum() {
		return datastoreNum;
	}

	/**
	 * @param datastoreNum
	 *            the datastoreNum to set
	 */
	public void setDatastoreNum(Integer datastoreNum) {
		this.datastoreNum = datastoreNum;
	}

	/**
	 * @return the hostIp
	 */
	public String getHostIp() {
		return hostIp;
	}

	/**
	 * @param hostIp
	 *            the hostIp to set
	 */
	public void setHostIp(String hostIp) {
		this.hostIp = hostIp;
	}

	/**
	 * @param name
	 * @param vendorName
	 * @param vendor
	 * @param stores
	 * @param servers
	 * @param clusterName
	 * @param vdcName
	 * @param netcards
	 * @param vmNum
	 * @param templateNum
	 * @param powerState
	 * @param datastoreNum
	 * @param hostIp
	 */
	public HostSystem(String name, String vendorName, String vendor, List<String> stores, List<CloudServer> servers,
			String clusterName, List<NetworkCard> netcards, Integer vmNum, Integer templateNum,
			String powerState, Integer datastoreNum, String hostIp) {
		super();
		this.name = name;
		this.vendorName = vendorName;
		this.vendor = vendor;
		this.stores = stores;
		this.servers = servers;
		this.clusterName = clusterName;
		this.netcards = netcards;
		this.vmNum = vmNum;
		this.templateNum = templateNum;
		this.powerState = powerState;
		this.datastoreNum = datastoreNum;
		this.hostIp = hostIp;
	}

}
